package com.gewu.pm.bean;

import java.io.Serializable;

/**
 * 终端联系人数据模型
 */
public class TerminalContactBean implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 联系人姓名 */
    private String name;

    /** 联系电话 */
    private String phone;

    /** 备注 */
    private String note;

    /** 是否为主联系人 */
    private boolean isPrimary;

    /** 数据索引（用于编辑时标识） */
    private int index;

    public TerminalContactBean() {
    }

    public TerminalContactBean(String name, String phone, String note, boolean isPrimary) {
        this.name = name;
        this.phone = phone;
        this.note = note;
        this.isPrimary = isPrimary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public boolean isPrimary() {
        return isPrimary;
    }

    public void setPrimary(boolean primary) {
        isPrimary = primary;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
